(Al-Ahraf) 7 : 77
فَعَقَرُوا النَّاقَةَ وَعَتَوْا عَنْ أَمْرِ رَبِّهِمْ وَقَالُوا يَا صَالِحُ ائْتِنَا بِمَا تَعِدُنَا إِنْ كُنْتَ مِنَ الْمُرْسَلِينَ

Then they slaughtered the camel, disobeyed their Lord’s command and they said: "Oh Swalih! You bring to us whatever you are promising us with if you are among the Messengers".

Swalih told his wrongdoing people as told in verse 11: 65: "You just wait three days at your houses", then after three days punishment happened to them".